class T {
    T t;
}
public class GC {
    public static void main(String[] args) {
        T a = new T();
        T b = new T();
        a.t = b;
        b.t = a;
    }
}
